<!--generate by auto 2015-09-21 15:03:04 -->
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="/ms-tags" prefix="ms"%>
<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<c:import url="/public/include/msDocType.html" />
<html>
<head>
<c:import url="/common/base-hplus-list.jsp" />
<script type="text/javascript" src="/js/system/menu/t-sys-menu-list.js?v=${version }"></script>

</head>
<body>
  <form action="list.do" method="post">
    <!-- 查询条件 -->
	<div class="ibox-content divSearchList" id="divSearchList">
		<div class="row">
		<div class="col-sm-2">
			<div class="input-group">
				<span class="input-group-btn">
					<button type="button" class="btn btn-success btn-sm" onclick="toAdd();">添加</button>
				</span>
			</div>
		</div>

      
      </div>
	</div>
	
      
    <!-- 查询结果 -->
    <div class="ibox-content">
   	<table class="table table-bordered">
      <thead>
        <tr>
			<th style="width:5%" id="MENU_CODE">菜单编号</th>
			<th style="width:20%" id="MENU_NAME">菜单名称</th>
			<th style="width:30%" id="MENU_PAGE">菜单路径</th>
			<th style="width:10%" id="CSS_CLASS">图标样式</th>
         	<th style="width:10%">操作</th>
        </tr>
      </thead>
      <tbody>
        <c:forEach var="entity" items="${pl.list}" varStatus="s">
          <tr>
			<td style="text-align:left">${entity.menuCode}</td>
			<td style="text-align:left">${entity.menuName}</td>
			<td style="text-align:left">${entity.menuPage}</td>
			<td style="text-align:left">${entity.cssClass}</td>
            <td style="text-align:center">
				<button type="button" class="btn btn-sm btn-primary" onClick="toAdd('${entity.id}');">修改</button>
        		<button type="button" class="btn btn-danger btn-primary" onClick="toDelete('${entity.id}');">删除</button>
			</td>
          </tr>
        </c:forEach>
      </tbody>
    </table>
    <!-- 翻页 -->
    <c:import url="/public/include/changePage.jsp" />
   </div>
   
  </form>
  
  <c:import url="/common/chosen-select.jsp" />
  
</body>
</html>

